<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
	<meta name="viewport" content="user-scalable=no,viewport-fit=cover" />
	<link href="./css/baseCss.css" rel="stylesheet" type="text/css"/>
	<link href="./base/layer.css" rel="stylesheet" type="text/css"/>
	<!-- <link href="./base/articlecon.css" rel="stylesheet" type="text/css"/> -->
	<link href="./base/base2.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript" src="./base/rem.js"></script>
	<script type="text/javascript" src="./base/iscroll.js"></script>

	<link rel="stylesheet" type="text/css" href="./css/shopping.css">
	<style type="text/css">
		
	</style>
	<title>购物车</title>
</head>
<body>
	<header>
		<div class="topReturn">
			<img class="topReturn-return" src="./img/return_02.png" onclick="window.location.href='./singleOrder.html'">
			<div class="topReturn-text">购物车</div>
			<div class="topReturn-editor">编辑</div>
		</div>
	</header>
	<div>
		<div class="container">
			<div class="shop-top">
				<div>
					<img class="shop-top-root" src="./img/root_02.png">
					<span>湘菜人家</span>
					<img class="shop-top-return" src="./img/return_01.png">
				</div>
				<div>
					<div class="shop-promotion">促销</div>
					<div class="shop-full"><span>满20减2;</span><span>满30减4;</span><span>满50减7</span></div>
				</div>
				<div class="imgCorrect"><img class="imgBai" src="./img/select_01.png"></div>
			</div>
			<ul class="shop-ul">
				<li class="shop-li">
					<div class="shop-li-select"><img src="./img/select_01.png"></div>
					<div class="shop-li-img"><img class="imgBai" src="./img/neet_03.png"></div>
					<div class="shop-li-bar">
						<div class="shop-li-name">麻辣小龙虾</div>
						<div class="shop-li-num">
							<div class="shop-li-X">X<span>1</span></div>
							<div class="shop-li-money">￥<span>68</span></div>
						</div>
					</div>
				</li>
				<li class="shop-li">
					<div class="shop-li-select"><img src="./img/select_01.png"></div>
					<div class="shop-li-img"><img class="imgBai" src="./img/neet_03.png"></div>
					<div class="shop-li-bar">
						<div class="shop-li-name">麻辣小龙虾</div>
						<div class="shop-li-num">
							<div class="shop-li-X">X<span>1</span></div>
							<div class="shop-li-money">￥<span>68</span></div>
						</div>
					</div>
				</li>
			</ul>
			<div class="shop-pre">
				<div>满减优惠</div><div>-￥2</div>
			</div>
		</div>
	</div>
		
	<footer>
		<div class="settleGo">
			<div class="settleGo-title">已优惠2元</div>
			<div class="settleGo-money"><div>￥131</div><button class="settleGo-go" onclick="window.location.href='./submitOrder.html'">去结算</button></div>
		</div>
	</footer>
</body>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript">
	// $(".imgCorrect img").toggle(function(){
	// 	$(this).attr("src","./img/select_02.png");
	// 	$(".shop-li-select img").attr("src","./img/select_02.png");
	// },function(){
	// 	$(this).attr("src","./img/select_01.png");
	// 	$(".shop-li-select img").attr("src","./img/select_01.png");
	// });
	$(".imgCorrect img").click(function(){
		if($(this).attr("src")=="./img/select_02.png"){
			$(this).attr("src","./img/select_01.png");
			$(".shop-li-select img").attr("src","./img/select_01.png");
		}else{
			$(this).attr("src","./img/select_02.png");
			$(".shop-li-select img").attr("src","./img/select_02.png");
		}
	});

	$(".shop-li-select img").click(function(){
		if($(this).attr("src")=="./img/select_02.png"){
			$(this).attr("src","./img/select_01.png");
		}else{
			$(this).attr("src","./img/select_02.png");
		}
	});
</script>
</html>